

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import store from "./store/index" 

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import * as ElementPlusIconsVue from '@element-plus/icons-vue'

import '@/assets/icon/iconfont.css'
import Request from "./utils/Request1.js";
import App from './App.vue'
import router from './router'

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(ElementPlus)
app.use(store)
app.config.globalProperties.Request = Request;
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
  }
app.mount('#app')
